package com.atmilan.quartz.sync.pull.buyer.service;

import java.util.Date;
import java.util.List;

import com.atmilan.quartz.model.entity.buyer.BuyerProduct;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hupeng
 * @since 2020-04-27
 */
public interface IBuyerProductService extends IService<BuyerProduct> {

    List<BuyerProduct> getDeleteList(Date startTime);

    /**
     * 查询所有商品id
     * 
     * @return
     */
    List<String> allGoodsIdList();

    List<String> findDeleteGoodsIdList(Date startTime);

    boolean replaceIntoProduct(BuyerProduct buyerProduct);

    BuyerProduct getByGoodsId(String goodsId);

    /**
     * 清空指定表
     * @Description:  
     * @author daigb 
     * @param 
     * @return void
     * @throws
     */
    void deleteAll();
    
    /**
     * 复制指定表
     * @Description:  
     * @author daigb 
     * @param 
     * @return void
     * @throws
     */
    void copyAll();
}
